<div id="follow_container">
    {% if sub_menu.following %}
        <div id="follow_title">
            {% if profile_user == user %}
                You are following <span class="count_following strong">{{ all_follow|length }}</span> people
            {% else %}
                {{ profile_user.get_username }} is following <span class="count_following strong">{{ all_follow|length }}</span> people
            {% endif %}
        </div>
    {% endif %}
    {% if sub_menu.followers %}
        <div id="follow_title">
            {% if profile_user == user %}
                <span class="count_followers strong">{{ all_follow|length }}</span>
                people are following you
            {% else %}
                <span class="count_followers strong">{{ all_follow|length }}</span>
                people are following {{ profile_user.get_username }}
            {% endif %}
        </div>
    {% endif %}
    {% for user_follow in follow %}
        {% include "follow_item.html" %}
    {% endfor %}

    {% if more_follow or less_follow %}
        <div id="more_news_div">
            {% if prev_page %}
                <a class="submit_button"
                    {% if prev_page > 1 %}
                        {% if sub_menu.following %}
                            href="{% url user_following_page profile_user.username prev_page %}">
                        {% endif %}
                        {% if sub_menu.followers %}
                            href="{% url user_followers_page profile_user.username prev_page %}">
                        {% endif %}
                    {% else %}
                        {% if sub_menu.following %}
                            href="{% url user_following profile_user.username %}">
                        {% endif %}
                        {% if sub_menu.followers %}
                            href="{% url user_followers profile_user.username  %}">
                        {% endif %}
                    {% endif %}
                    <span class="hidden"><div class="triangle_black_right"></div></span> Prev
                </a>
            {% endif %}
            {% if next_page %}
                <a class="submit_button"
                    {% if sub_menu.following %}
                        href="{% url user_following_page profile_user.username next_page %}">
                    {% endif %}
                    {% if sub_menu.followers %}
                        href="{% url user_followers_page profile_user.username next_page %}">
                    {% endif %}Next
                    <span class="hidden"><div class="triangle_black_left"></div></span>
                </a>
            {% endif %}
        </div>
    {% endif %}
</div>
{% include "engage_login.html" %}